package Java_3_1;

import java.util.Scanner;

public class Java_3_1_17 {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		System.out.println("width=?");
		int width=sc.nextInt();
		if(width%2==0) {
			width += 1;
		}
		for(int i=width/2+1;i>=1;--i) {
			for(int j=1;j<=width;++j) {
				if(Math.abs(j-(width+1)/2)+1>i) {
					System.out.print(" ");
				}else {
					System.out.print("*");
				}
			}
			System.out.println();
		}
	}

}



